package com.gu.service;

import com.github.pagehelper.PageInfo;
import com.gu.VO.ServerResponse;
import com.gu.entity.NoticeDO;

import java.util.List;

/**
 * @ProjectName: apartment-management-center
 * @Package: com.gu.service
 * @ClassName: NoticeService
 * @Author: gusongliao
 * @Description: 公告业务层
 * @createDate 2021/03/18 19:37
 */
public interface NoticeService {

    PageInfo getNoticeBySearchParam(Integer pageNum, Integer pageSize,String searchParam, String searchDate);

    ServerResponse insertNotice(NoticeDO noticeDO);

    NoticeDO getById(Integer id);

    ServerResponse deleteByIds(Integer[] ids);
}
